package wiiWired.controller.data;

import java.util.HashMap;

public class RaceModel
{
	private HashMap<Integer, Race> map = new HashMap<Integer, Race>();
	private int raceCount = 0;
	
	public RaceModel()
	{
		
	}
	
	public void addRace(Race race)
	{
		map.put(race.raceNumber, race);
	}
	
	public int getSize()
	{
		return map.size();
	}
	
	public Race getRace(int race)
	{
		return map.get(race);
	}
	
	public HashMap<Integer, Race> getMap()
	{
		return map;
	}

}
